<!-- 底部按钮组件 -->
<template>
	<view class="content">
		<view class="left" @click="$emit('discussion')">
			<slot name='left'></slot>
		</view>
		<view class="right">
			<slot name='right'></slot>
		</view>
	</view>
</template>

<script>
	export default {
		props: {},
		data() {
			return {}
		},
		methods: {

		},
	}
</script>

<style scoped lang="scss">
.content{
	width: 100%;
	height: 120rpx;
	display: flex;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 999;
	display: flex;
	box-shadow: 0 0 10rpx 0rpx rgba(80,80,80,0.2);
	border-radius: 20rpx;
	background: #fff;
	.left{
		width: 35%;
		padding: 22rpx 22rpx 30rpx 30rpx;
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #194FC9;
		// box-shadow: 0px 0px 10px 0px rgba(80,80,80,0.600);
		border-radius: 20rpx 0 0 0;
		background: #fff;
	}
	.right{
		width: 65%;
		background: #fff;
		border-radius: 0 40rpx 0 0;
		padding-bottom: env(safe-area-inset-bottom);
				
	}
	
}
</style>
